package com.symc.his.api.employee;

import com.symc.his.api.base.BaseResponse;
import com.symc.his.api.employee.dto.req.DepartmentReqDTO;
import com.symc.his.api.employee.dto.resp.DepartmentRespDTO;
import com.symc.his.api.employee.dto.resp.EmployeeRespDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: 科室员工管理服务接口
 * @CreateTime: 2023/3/6 20:32
 * @Version: 
 * @Since: 1.8
 * @Author: 辛凤文 forward.seen@foxmail.com 
 */
@RequestMapping("/employee")
public interface EmployeeService {

    /**
     * 测试
     * @return
     */
    @GetMapping("/testEmployeeService")
    String testEmployeeService();

    /**
     * 获取科室信息
     * @param departmentReqDTO
     * @return
     */
    @PostMapping("/getDepartment")
    BaseResponse<DepartmentRespDTO> getDepartment(@RequestBody DepartmentReqDTO departmentReqDTO);

    /**
     * 根据科室ID 获取该科室所有医生
     * @param deptCode
     * @return
     */
    @GetMapping("/getDoctorListByDept")
    BaseResponse<EmployeeRespDTO> getDoctorListByDept(@RequestParam String deptCode);

}